import { BasePageResp, BaseParam, BasePageReq } from "../base";

export interface Complaint extends BaseParam {
  pic: string;
  picArr?: string[];
  content: string;
  agreeCount: number;
  agree: boolean;
  rejectCount: number;
  reject: boolean;
  userId?: number;
  avatar: string;
  nickname: string;
  status: number;
  publishTime: string;
}

export interface ComplaintResp extends BasePageResp {
  records: Complaint[];
}

export interface ComplaintReq extends BasePageReq {
  status?: number;
  type?: number;
}
